package com.project.smarthome.login;


import com.project.smarthome.base.UIPresenter;
import com.project.smarthome.base.UIView;
import com.project.smarthome.main.model.UserBasicInfo;

import java.io.File;


public interface UserProfileContract {

    interface View extends UIView {
        void updateProfile(UserBasicInfo userInfo);
    }

    interface Presenter extends UIPresenter {

        void uploadAvatar(File image);

        void updateNickName(String nickName);

        void updateBirthDay(String birthDay);

        void updateSex(String sex);

    }
}
